<table class="custom-table" cellpadding="0" cellspacing="0">
	<thead>
	<tr>
		<th class="th05">序号</th>
		<th class="th04">商户名称</th>
		<th class="th03">商品名称</th>
		<th class="th02">商品价格</th>
		<th class="th01">商品图片</th>
		<th class="th01">商品规格</th>
		<th class="th05">是否推荐</th>
		<th class="th04">是否热销</th>
		<th class="th03">是否显示</th>
		<th class="th02">销量</th>
		<th class="th01">操 作</th>
	</tr>
	</thead>
	<tbody>
	<?php foreach ($this->paginator as $v) : ?>
		<tr>
			<td><?php echo $this->escapeHtml($v->product_id);?></td>
			<td><?php if($v->org_is_direct_sale == 2):?> <span class="label label-success">直营</span><?php endif;?> <?php echo $this->escapeHtml($v->org_name);?></td>
			<td><?php echo $this->escapeHtml($v->product_name);?></td>
			<td><?php echo $this->escapeHtml($v->product_price);?></td>
			<td><img src="<?php echo $this->escapeHtml($v->product_thumb_image);?>" width="30" height="30" class="img-rounded"></td>
			<td><?php echo $this->escapeHtml($v->model);?></td>
			<td><?php if($v->recommend == 1):?>是<?php else:?>否<?php endif;?></td>
			<td><?php if($v->hot == 1):?>是<?php else:?>否<?php endif;?></td>
			<td><?php if($v->product_is_display == 1):?>是<?php else:?>否<?php endif;?></td>
			<td >  
				<span class="badge"><?php echo $this->escapeHtml($v->top);?></span>
			</td>
			<td>
				<a href="/crm/org/edit-goods?product_id=<?php echo $this->escapeHtml($v->product_id);?>">修改</a>/
				<a href="/crm/org/copy-goods?product_id=<?php echo $this->escapeHtml($v->product_id);?>">复制商品</a>
				
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody>
</table>
<?php
     echo $this->paginationControl(
         $this->paginator,
         'sliding',
         'partial/ajax-paginator.phtml',
         array()
     );
 ?>